package org.liuyunfeng.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(name = "hello", url = "localhost:8081")
public interface HelloFeign {

    @GetMapping("/hello")
    Map<String, Object> hello();
}
